package com.study.ming;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author yh
 * @date 2022/10/12 11:32
 **/
@SpringBootApplication
@EnableDiscoveryClient
public class WeatherApplication {

    public static void main(String[] args) {
        try{
            SpringApplication.run(WeatherApplication.class, args);
        }catch (Exception e){
            System.out.println(e.getCause());
            System.out.println(e.getMessage());
            System.out.println(e.getStackTrace());
            System.out.println(e);
        }
    }

}
